package com.yum.lang;

import java.io.Serializable;

/**
 * Created on 2023/5/25
 *
 * @Time 10:39
 * @Program YunMap
 * @Author YoHaNe/XiaoShuai
 */
public abstract class YNumber implements Serializable {
    private static final long serialVersionUID = 8031137030169034629L;

    public abstract int intValue();

    public abstract long longValue();

    public abstract double doubleValue();

    public abstract float floatValue();

    public byte byteValue(){
        return (byte) intValue();
    }
}
